<?php
$v_status = 1;
$v_filter = "";
if(isset($_REQUEST['hdn_filter'])){
	$v_filter=_replace_bad_char(trim($_REQUEST['hdn_filter']));
}	
$v_worktype_id = "";
if(isset($_REQUEST['hdn_worktype_id']))
{
	$v_worktype_id = $_REQUEST['hdn_worktype_id'];
}
if(_is_sqlserver()){

	$sql = "Exec  Onegate_GetSpecWorkTypeUpdate ";
	$sql = $sql . "'".$v_worktype_id."'";
	$ado_conn->SetFetchMode(ADODB_FETCH_NUMBER);
	$arr_single_worktype_spec = $ado_conn->GetAll($sql);
	//var_dump($arr_single_worktype_spec);
	
	$sql = "Exec Onegate_GetAllSpecWorkType  ";
	$ado_conn->SetFetchMode(ADODB_FETCH_NUMBER);
	$arr_all_worktype_spec = $ado_conn->GetAll($sql);
	$v_count_spec = sizeof($arr_all_worktype_spec);
	//var_dump($arr_all_worktype_spec);
}?>
